package com.example.zz.example.datastructures;

import java.util.Arrays;
import java.util.LinkedList;

/**
  Created by zhangzhuo.
  Blog: https://blog.csdn.net/zhangzhuo1024
  Date: 2020/5/3

  堆栈树图与数组，队列链表散列表
 */
public class JavaMain {

    public static void main(String[] args) {






        LinkedList<String> a = new LinkedList<>();
        a.add("a");
        a.addFirst("b");
        for (String s : a) {
            System.out.println(s);
        }

    }


}




